﻿using ProTrack.Utility;
using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    /// <summary>
    /// 排班计划人员表(排班计划附加表)
    /// </summary>
    public class PlanTeamItem
    {
        /// <summary>
        /// 排班计划人员id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 计划Id
        /// </summary>
        public long PlanTeamId { get; set; }



        /// <summary>
        /// 员工编号
        /// </summary>
        public long PersonCode { get; set; }

        /// <summary>
        /// 计划人员名称
        /// </summary>
        public string PlanPersonName { get; set; }

        /// <summary>
        /// 人员执行任务编号
        /// </summary>
        public string TaskCode { get; set; }

        /// <summary>
        /// 人员任务数量
        /// </summary>
        public float PeopleQuantity { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = StringHelper.GetTimeNow();

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }
    }

}
